import { defineStore } from "pinia";

export const useSearchStore = defineStore('searchStore',{
    state(){
        return{
            searchInput: '',
            planForm: {
               topic: '',
               target: '',
               time: '',
               grade: ''
            },
            sourceForm: {
                topic: '',
                type: '',
                nums: '',
                grade: '',
                more: ''
            },
            analysisForm: {
                performance: '',
                interact: '',
                practice: '',
                grade: '',
                personal: '',
                file: null as File | null
            }
        }
    },
    actions: {

    }
})